package com.wyg.demo.mapper;

import com.wyg.demo.domain.OperationLog;
import com.wyg.demo.domain.vo.OperationLogVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author ygWen
 * @Description 日志操作类 持久层
 * @date 2022/1/19
 */
@Mapper
public interface OperationLogMapper {
    
    /**
     * 获取操作日志列表
     * @param operationLogVo 操作日志类
     * @return 结果
     */
    List<OperationLog> listOperationLog(OperationLogVo operationLogVo);

    /**
     * 获取日志数量
     * @param operationLogVo 操作日志类
     * @return 结果
     */
    long getCount(OperationLogVo operationLogVo);

    /**
     * 报错操作日志
     * @param operationLog 操作日志类
     */
    void insertOperationLog(OperationLog operationLog);
    
}
